package com.cowin.sys.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
@Data
@Table(name = "TM_OFM_ORDER")
public class TmOfmOrder {
    @Id
    @Column(name = "TM_OFM_ORDER_ID")
    private Long tmOfmOrderId;

    @Column(name = "ORDER_NO")
    private String orderNo;

    @Column(name = "VIN")
    private String vin;

    @Column(name = "MATERIAL_NO")
    private String materialNo;

    @Column(name = "START_TIME")
    private Date startTime;

    @Column(name = "TOD_TIME")
    private Date todTime;

    @Column(name = "SAP_SEQUENCE")
    private BigDecimal sapSequence;

    @Column(name = "MES_ORDER_SEQ")
    private BigDecimal mesOrderSeq;

    @Column(name = "ORDER_TYPE")
    private String orderType;

    @Column(name = "TM_BAS_ROUTE_ID")
    private Long tmBasRouteId;

    @Column(name = "TPS")
    private String tps;

    @Column(name = "ORDER_STATUS")
    private Short orderStatus;

    @Column(name = "IS_FREEZED")
    private Short isFreezed;

    @Column(name = "IS_HOLD")
    private Short isHold;

    @Column(name = "FC01")
    private String fc01;

    @Column(name = "FC02")
    private String fc02;

    @Column(name = "FC03")
    private String fc03;

    @Column(name = "FC04")
    private String fc04;

    @Column(name = "FC05")
    private String fc05;

    @Column(name = "PROD_START_TIME")
    private Date prodStartTime;

    @Column(name = "PROD_FINISH_TIME")
    private Date prodFinishTime;

    @Column(name = "LAST_UPDATE_TIME")
    private Date lastUpdateTime;

    @Column(name = "LAST_UPDATE_USERNAME")
    private String lastUpdateUsername;

    @Column(name = "PID")
    private Integer pid;

    @Column(name = "PID_IS_CLOSED")
    private Short pidIsClosed;

    @Column(name = "PRINTTIME")
    private Date printtime;

    @Column(name = "ISSENDED")
    private Short issended;

    @Column(name = "PRODUCT")
    private String product;

    @Column(name = "MODELYEAR")
    private String modelyear;

    @Column(name = "MODEL_PLANT")
    private String modelPlant;

    @Column(name = "EXACT_DATE")
    private String exactDate;

    @Column(name = "IS_WBS_SENDED")
    private Short isWbsSended;

    @Column(name = "WBS_SENDING_TIME")
    private Date wbsSendingTime;

    @Column(name = "BOMVERSION")
    private String bomversion;

    @Column(name = "TPSFC01")
    private String tpsfc01;

    @Column(name = "TPSFC02")
    private String tpsfc02;

    @Column(name = "TPSFC03")
    private String tpsfc03;

    @Column(name = "VHC_MODEL")
    private String vhcModel;

    @Column(name = "TM_BAS_PLANT_ID")
    private Long tmBasPlantId;

    @Column(name = "SAP_ORDER_NO")
    private String sapOrderNo;

    @Column(name = "CREATE_TIME")
    private Date createTime;

    @Column(name = "TPSCODE_PRINT_VALUE")
    private String tpscodePrintValue;

    @Column(name = "SVO_TYPE")
    private String svoType;

    @Column(name = "SVO_NO")
    private String svoNo;

    @Column(name = "SVO_VENDOR")
    private String svoVendor;

    @Column(name = "BC_SEQ")
    private String bcSeq;

    @Column(name = "ONLINE_TIME")
    private Date onlineTime;

    @Column(name = "CUS_ORDER_NO")
    private String cusOrderNo;

    @Column(name = "HIGH_BRIGHT_FILM")
    private String highBrightFilm;

    @Column(name = "EV")
    private String ev;

    @Column(name = "PRO_TYPE")
    private String proType;

}